home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / serien / purity / nr.42 / includes3v1 / includes3v1.lha / Prefs / Pointer.i < prev    next >
Text File  |  1994-12-04  |  1KB  |  46 lines

  1.  {      File format for pointer preferences }
  2.  
  3.  
  4. {$I "Include:Libraries/IffParse.i"}
  5.  
  6.  
  7. const
  8.       ID_PNTR = 1347310674;
  9.  
  10.  
  11. Type
  12.  PointerPrefs = Record
  13.     pp_Reserved : Array[0..3] of Integer;
  14.     pp_Which,                             { 0=NORMAL, 1=BUSY }
  15.     pp_Size,                              { see <intuition/pointerclass.h> }
  16.     pp_Width,                             { Width in pixels }
  17.     pp_Height,                            { Height in pixels }
  18.     pp_Depth,                             { Depth }
  19.     pp_YSize,                             { YSize }
  20.     pp_X, pp_Y  : WORD;                   { Hotspot }
  21.  
  22.     { Color Table:  numEntries = (1 << pp_Depth) - 1 }
  23.  
  24.     { Data follows }
  25.  end;
  26.  PointerPrefsPtr = ^PointerPrefs;
  27.  
  28. {***************************************************************************}
  29.  
  30. Const
  31. { constants for PointerPrefs.pp_Which }
  32.  WBP_NORMAL    =  0;
  33.  WBP_BUSY      =  1;
  34.  
  35. {***************************************************************************}
  36.  
  37. Type
  38.  RGBTable = Record
  39.     t_Red,
  40.     t_Green,
  41.     t_Blue  : Byte;
  42.  end;
  43.  
  44. {***************************************************************************}
  45.  
  46.